import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { GamesPage } from '../games/games';
import { RankPage } from '../rank/rank';
import { ArenaPage } from '../arena/arena';
import { MyPage } from '../my/my';

@Component({
  selector: 'page-tabs-controller',
  templateUrl: 'tabs-controller.html'
})
export class TabsControllerPage {
  // this tells the tabs component which Pages
  // should be each tab's root Page
  tab1Root: any = GamesPage;
  tab2Root: any = RankPage;
  tab3Root: any = ArenaPage;
  tab4Root: any = MyPage;
  constructor(public navCtrl: NavController) {
  }
  
}
